package com.zry.admin.controller.returnlist;


import com.zry.admin.query.ReturnListGoodsQuery;
import com.zry.admin.service.IReturnListGoodsService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author 张瑞洋
 * @title: ReturnListGoodsController
 * @projectName zry_jxc
 * @description: 退货单商品表 前端控制器
 * @date 2022/2/21 22:22
 */
@Controller
@RequestMapping("/returnListGoods")
public class ReturnListGoodsController {

    @Resource
    private IReturnListGoodsService returnListGoodsService;

    @RequestMapping("list")
    @ResponseBody
    public Map<String, Object> returnListGoodsList(ReturnListGoodsQuery returnListGoodsQuery) {
        return returnListGoodsService.returnListGoodsList(returnListGoodsQuery);
    }
}
